import {createStore} from 'vuex'
import menu from './menu.js'
import createPersistedState from 'vuex-persistedstate'

export default createStore({
    plugins: [new createPersistedState({
        storage: window.localStorage,
        key: 'r_vuex'
    })],
    modules: {
        menu
    }
})
